package com.itheima.dao;


import com.itheima.pojo.OrderDetail;
import com.itheima.pojo.Orders;
import com.itheima.vo.DetailVo;
import com.itheima.vo.OrdersDetailVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author itheima
 * @since 2022-05-03
 */
@Mapper
public interface OrdersDetailMapper {

    List<DetailVo> getNameAndNumber(String orderId);

    /**
     * 订单提交
     * @param list
     * @return
     */
    int insert(List<OrderDetail> list);
}
